//
//  XTUserStatus.swift
//  HrenryWeibo
//
//  Created by 熊涛 on 16/5/16.
//  Copyright © 2016年 熊涛. All rights reserved.
//

import UIKit

class XTUserStatus: NSObject {

    //MARK: - 属性
    
    //用户ID
    var id : Int64 = 0
    
    //用户昵称
    var screen_name : String?
    
    //用户头像地址（中图), 50 * 50像素
    var profile_image_url : String?
    
    //verified_type 没有认证: -1  认证用户0, 企业认证2,3,5 达人220
    var verified_type : Int = -1
    
    //会员登录 1 - 6
    var mbrank : Int = 0
    
    
    //字典转模型
    init(dict : [String : AnyObject]) {
        super.init()
        
        setValuesForKeysWithDictionary(dict)
    }
    
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String){}
    
    
    
    //对象打印
    override var description : String {
        get {
            
            let keys = ["id", "screen_name", "profile_image_url", "verified_type", "mbrank"]
            return "\n \t \t 用户模型: \(dictionaryWithValuesForKeys(keys))"
        }
        
    }
    
    
    
    
    
}
